package com.biz.primus.ms.coupon.dao.po;

import com.biz.primus.ms.base.jpa.po.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * 优惠券系统配置
 *
 * @author david-liu
 */
@Entity
@Table(name = "cpn_sys_property")
@Getter
@Setter
public class CouponSystemProperty extends BaseEntity {
    private static final long serialVersionUID = 2137027440229051860L;

    /**
     * 配置项
     */
    @Column(length = 100)
    private String name;

    /**
     * 配置值
     */
    @Column(columnDefinition = "MEDIUMTEXT")
    private String value;

    /**
     * 是否允许修改
     */
    @Column
    private Boolean editable;


    /**
     * 是否允许修改
     */
    @Column
    private String description;

}
